package org.hhgzs.modules.erp.service;

import org.hhgzs.modules.erp.entity.Account;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 账户信息 服务类
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
public interface AccountService extends IService<Account> {

    int updateIsDefault(Long depotId);

    Account getAccount(long id) throws Exception;

    List<Account> getAccount();
}
